<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改考生成绩汇总')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-VSumApplicationResult-edit" th:object="${vSumApplicationResult}">
            <input name="name" th:field="*{name}" type="hidden">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">姓名：</label>
                    <div class="col-sm-8">
                        <input name="name" th:field="*{name}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">身份证号码：</label>
                    <div class="col-sm-8">
                        <input name="idCardNumber" th:field="*{idCardNumber}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">报考年份：</label>
                    <div class="col-sm-8">
                        <input name="years" th:field="*{years}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">准考证号：</label>
                    <div class="col-sm-8">
                        <input name="examId" th:field="*{examId}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">报考科数：</label>
                    <div class="col-sm-8">
                        <input name="applicationCount" th:field="*{applicationCount}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">有成绩科数：</label>
                    <div class="col-sm-8">
                        <input name="scoreCount" th:field="*{scoreCount}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">未通过/弃考科数：</label>
                    <div class="col-sm-8">
                        <input name="failCount" th:field="*{failCount}" class="form-control" type="text" required>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">平均成绩：</label>
                    <div class="col-sm-8">
                        <input name="averagescore" th:field="*{averagescore}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/VSumApplicationResult";
        $("#form-VSumApplicationResult-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-VSumApplicationResult-edit').serialize());
            }
        }
    </script>
</body>
</html>